﻿using System;
using System.Collections.Generic;
using IDAL;
using Model;

namespace BLL
{
    public class DiagnoseBottleneck
    {
        private static readonly IDiagnoseBottleneck dal = DALFactory.DataAccess.CreateDiagnoseBottleneck();

        public IList<ProductType_QInfo> GetQ_dt_pt(DateTime starttime, DateTime stoptime)
        {
            return dal.GetQ_dt_pt(starttime, stoptime);
        }

        public IList<ProductType_QInfo> GetQ_pt_tm(DateTime starttime, DateTime stoptime)
        {
            return dal.GetQ_pt_tm(starttime, stoptime);
        }

        public IList<ProductType_QInfo> GetQ_tm_pt(DateTime starttime, DateTime stoptime)
        {
            return dal.GetQ_tm_pt(starttime, stoptime);
        }

        public IList<ProductType_AllQInfo> GetAllProductionDT(DateTime starttime, DateTime stoptime)
        {
            return dal.GetAllProductionDT(starttime, stoptime);
        }
    }
}
